package com.wbtech.ums.objects;



public class PostClientData {
     
	private   String  os_version;
	private   String  platform;
	private   String  language;
	
	private   String  deviceid;
	private   String  appkey;
	private   String  resolution;
	private   boolean  ismobiledevice;
	private   Integer  phonetype;
	private   String  imsi;
	private   String  network;
	private   String  time;
	private   String  version;
	
	private   String  userid;
	private   String  mccmnc;
	private   String  cellid;
	
	private   String  lac;
	private   String  modulename;
	private   String  devicename;
	private   String  wifimac;
	private   Integer  havebt;
	
	private   String  havewifi;
	private   Integer  havegps;
	
	private   String  havegravity;
	private   String  latitude;
	private   String  longitude;
	
	public PostClientData() {
		super();
	}
	
	
	public PostClientData(String os_version, String platform, String language,
			String deviceid, String appkey, String resolution,
			boolean ismobiledevice, Integer phonetype, String imsi,
			String network, String time, String version, String userid,
			String mccmnc, String cellid, String lac, String modulename,
			String devicename, String wifimac, Integer havebt, String havewifi,
			Integer havegps, String havegravity, String latitude,
			String longitude) {
		super();
		this.os_version = os_version;
		this.platform = platform;
		this.language = language;
		this.deviceid = deviceid;
		this.appkey = appkey;
		this.resolution = resolution;
		this.ismobiledevice = ismobiledevice;
		this.phonetype = phonetype;
		this.imsi = imsi;
		this.network = network;
		this.time = time;
		this.version = version;
		this.userid = userid;
		this.mccmnc = mccmnc;
		this.cellid = cellid;
		this.lac = lac;
		this.modulename = modulename;
		this.devicename = devicename;
		this.wifimac = wifimac;
		this.havebt = havebt;
		this.havewifi = havewifi;
		this.havegps = havegps;
		this.havegravity = havegravity;
		this.latitude = latitude;
		this.longitude = longitude;
	}
	
	/**
	 cursor.getString(cursor.getColumnIndex("os_version")),
						cursor.getString(cursor.getColumnIndex("platform")),
						cursor.getString(cursor.getColumnIndex("language")),
						cursor.getString(cursor.getColumnIndex("deviceid")),
						cursor.getString(cursor.getColumnIndex("appkey")),
						cursor.getString(cursor.getColumnIndex("resolution")),
						cursor.getInt(cursor.getColumnIndex("ismobiledevice"))==1?true:false,
						
						cursor.getInt(cursor.getColumnIndex("phonetype")),
						cursor.getString(cursor.getColumnIndex("imsi")),
						cursor.getString(cursor.getColumnIndex("network")),
						cursor.getString(cursor.getColumnIndex("time")),
						cursor.getString(cursor.getColumnIndex("userid")),
						cursor.getString(cursor.getColumnIndex("mccmnc")),
						cursor.getString(cursor.getColumnIndex("cellid")),
						cursor.getString(cursor.getColumnIndex("lac")),
						cursor.getString(cursor.getColumnIndex("modulename")),
						cursor.getString(cursor.getColumnIndex("devicename")),
						
						cursor.getString(cursor.getColumnIndex("wifimac")),
						cursor.getString(cursor.getColumnIndex("havebt"))
	 */
	public PostClientData(String os_version, String platform, String language,
			String deviceid, String appkey, String resolution,
			boolean ismobiledevice, Integer phonetype, String imsi,
			String network, String time, String version, String userid,
			String mccmnc, String cellid, String lac, String modulename,
			String devicename, String wifimac, Integer havebt) {
		super();
		this.os_version = os_version;
		this.platform = platform;
		this.language = language;
		this.deviceid = deviceid;
		this.appkey = appkey;
		this.resolution = resolution;
		this.ismobiledevice = ismobiledevice;
		this.phonetype = phonetype;
		this.imsi = imsi;
		this.network = network;
		this.time = time;
		this.version = version;
		this.userid = userid;
		this.mccmnc = mccmnc;
		this.cellid = cellid;
		this.lac = lac;
		this.modulename = modulename;
		this.devicename = devicename;
		this.wifimac = wifimac;
		this.havebt = havebt;
		
	}
	/**
	 * @return the os_version
	 */
	public String getOs_version() {
		return os_version;
	}
	/**
	 * @param os_version the os_version to set
	 */
	public void setOs_version(String os_version) {
		this.os_version = os_version;
	}
	/**
	 * @return the platform
	 */
	public String getPlatform() {
		return platform;
	}
	/**
	 * @param platform the platform to set
	 */
	public void setPlatform(String platform) {
		this.platform = platform;
	}
	/**
	 * @return the language
	 */
	public String getLanguage() {
		return language;
	}
	/**
	 * @param language the language to set
	 */
	public void setLanguage(String language) {
		this.language = language;
	}
	/**
	 * @return the deviceid
	 */
	public String getDeviceid() {
		return deviceid;
	}
	/**
	 * @param deviceid the deviceid to set
	 */
	public void setDeviceid(String deviceid) {
		this.deviceid = deviceid;
	}
	/**
	 * @return the appkey
	 */
	public String getAppkey() {
		return appkey;
	}
	/**
	 * @param appkey the appkey to set
	 */
	public void setAppkey(String appkey) {
		this.appkey = appkey;
	}
	/**
	 * @return the resolution
	 */
	public String getResolution() {
		return resolution;
	}
	/**
	 * @param resolution the resolution to set
	 */
	public void setResolution(String resolution) {
		this.resolution = resolution;
	}
	/**
	 * @return the ismobiledevice
	 */
	public boolean getIsmobiledevice() {
		return ismobiledevice;
	}
	/**
	 * @param ismobiledevice the ismobiledevice to set
	 */
	public void setIsmobiledevice(boolean ismobiledevice) {
		this.ismobiledevice = ismobiledevice;
	}
	/**
	 * @return the phonetype
	 */
	public Integer getPhonetype() {
		return phonetype;
	}
	/**
	 * @param phonetype the phonetype to set
	 */
	public void setPhonetype(Integer phonetype) {
		this.phonetype = phonetype;
	}
	/**
	 * @return the imsi
	 */
	public String getImsi() {
		return imsi;
	}
	/**
	 * @param imsi the imsi to set
	 */
	public void setImsi(String imsi) {
		this.imsi = imsi;
	}
	/**
	 * @return the network
	 */
	public String getNetwork() {
		return network;
	}
	/**
	 * @param network the network to set
	 */
	public void setNetwork(String network) {
		this.network = network;
	}
	/**
	 * @return the time
	 */
	public String getTime() {
		return time;
	}
	/**
	 * @param time the time to set
	 */
	public void setTime(String time) {
		this.time = time;
	}
	/**
	 * @return the version
	 */
	public String getVersion() {
		return version;
	}
	/**
	 * @param version the version to set
	 */
	public void setVersion(String version) {
		this.version = version;
	}
	/**
	 * @return the userid
	 */
	public String getUserid() {
		return userid;
	}
	/**
	 * @param userid the userid to set
	 */
	public void setUserid(String userid) {
		this.userid = userid;
	}
	/**
	 * @return the mccmnc
	 */
	public String getMccmnc() {
		return mccmnc;
	}
	/**
	 * @param mccmnc the mccmnc to set
	 */
	public void setMccmnc(String mccmnc) {
		this.mccmnc = mccmnc;
	}
	/**
	 * @return the cellid
	 */
	public String getCellid() {
		return cellid;
	}
	/**
	 * @param cellid the cellid to set
	 */
	public void setCellid(String cellid) {
		this.cellid = cellid;
	}
	/**
	 * @return the lac
	 */
	public String getLac() {
		return lac;
	}
	/**
	 * @param lac the lac to set
	 */
	public void setLac(String lac) {
		this.lac = lac;
	}
	/**
	 * @return the modulename
	 */
	public String getModulename() {
		return modulename;
	}
	/**
	 * @param modulename the modulename to set
	 */
	public void setModulename(String modulename) {
		this.modulename = modulename;
	}
	/**
	 * @return the devicename
	 */
	public String getDevicename() {
		return devicename;
	}
	/**
	 * @param devicename the devicename to set
	 */
	public void setDevicename(String devicename) {
		this.devicename = devicename;
	}
	/**
	 * @return the wifimac
	 */
	public String getWifimac() {
		return wifimac;
	}
	/**
	 * @param wifimac the wifimac to set
	 */
	public void setWifimac(String wifimac) {
		this.wifimac = wifimac;
	}
	/**
	 * @return the havebt
	 */
	public Integer getHavebt() {
		return havebt;
	}
	/**
	 * @param havebt the havebt to set
	 */
	public void setHavebt(Integer havebt) {
		this.havebt = havebt;
	}
	/**
	 * @return the havewifi
	 */
	public String getHavewifi() {
		return havewifi;
	}
	/**
	 * @param havewifi the havewifi to set
	 */
	public void setHavewifi(String havewifi) {
		this.havewifi = havewifi;
	}
	/**
	 * @return the havegps
	 */
	public Integer getHavegps() {
		return havegps;
	}
	/**
	 * @param havegps the havegps to set
	 */
	public void setHavegps(Integer havegps) {
		this.havegps = havegps;
	}
	/**
	 * @return the havegravity
	 */
	public String getHavegravity() {
		return havegravity;
	}
	/**
	 * @param havegravity the havegravity to set
	 */
	public void setHavegravity(String havegravity) {
		this.havegravity = havegravity;
	}
	/**
	 * @return the latitude
	 */
	public String getLatitude() {
		return latitude;
	}
	/**
	 * @param latitude the latitude to set
	 */
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	/**
	 * @return the longitude
	 */
	public String getLongitude() {
		return longitude;
	}
	/**
	 * @param longitude the longitude to set
	 */
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}


	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "PostClientData [os_version=" + os_version + ", platform="
				+ platform + ", language=" + language + ", deviceid="
				+ deviceid + ", appkey=" + appkey + ", resolution="
				+ resolution + ", ismobiledevice=" + ismobiledevice
				+ ", phonetype=" + phonetype + ", imsi=" + imsi + ", network="
				+ network + ", time=" + time + ", version=" + version
				+ ", userid=" + userid + ", mccmnc=" + mccmnc + ", cellid="
				+ cellid + ", lac=" + lac + ", modulename=" + modulename
				+ ", devicename=" + devicename + ", wifimac=" + wifimac
				+ ", havebt=" + havebt + ", havewifi=" + havewifi
				+ ", havegps=" + havegps + ", havegravity=" + havegravity
				+ ", latitude=" + latitude + ", longitude=" + longitude + "]";
	}
	
	
	
	
}
